<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
		<title>{$seo_title}</title>
		<meta name="Keywords" content="{$seo_keywords}">
		<meta name="Description" content="{$seo_description}">
		{include file="book@mobile_public/static" /}
		<link href="__MOBILE__css/book.css" rel="stylesheet" />
	</head>
	<body>
		{include file="book@mobile_public/head_book" /}
		<div id="content">
			<div class="container-fluid">
				<div id="bookInfo-page">
					<div class="row">
						<div class="col-xs-4">
							<p class="bip-cover"><img src="{$cover}" class="img-responsive"></p>
						</div>
						<div class="col-xs-8">
							<p class="bip-name">{$name}</p>
							<div class="bip-author"><i class="fa fa-user-circle"></i>{$author}</div>
							<div class="bip-catgory"><p>{$catid}</p></div>
							<p class="bip-words">{$sum_words} 万字 | {$full_flag}</p>
						</div>
					</div>
					<div class="bip-btn">
						<div class="row">
							<div class="col-xs-4"><a href="{if $last_read_chapter}{$last_read_chapter.url}{else}{:url('book/book/chapterlist',['bid'=>$id])}{/if}" id="read-btn">{if $last_read_chapter}继续阅读{else}点击阅读{/if}</a></div>
							<div class="col-xs-4"><a href="{:url('book/book/chapterlist',['bid'=>$id])}">查看目录</a></div>
							<div class="col-xs-4"><a href="javascript:;" onclick="addBookcase({$id})">加入书架</a></div>
						</div>
					</div>
					<div class="bip-intro">{$intro}</div>
					<div class="read-last-chapter mt20">
						<p class="rlc-angle-right"><i class="fa fa-angle-right"></i></p>
						{if $last_read_chapter}
							<a href="{$last_read_chapter.url}">上次读到：{$last_read_chapter.chapter_name}</a>
						{else}
							<a href="javascript:;">暂无阅读记录</a>
						{/if}
					</div>
					<div class="last-chapter mt20">
						<p class="lc-angle-right"><i class="fa fa-angle-right"></i></p>
						{if $last_chapter}
							<a href="{$last_chapter.url}">
								<p>最新章节：{$last_chapter.chapter_name}</p>
								<p>更新时间：{$last_chapter.create_time}</p>
							</a>
						{else}
							<p>暂无章节</p>
						{/if}
					</div>
				</div>
			</div>
		</div>
		{include file="book@mobile_public/foot" /}
	</body>
</html>